SmartCrawl\Redirects\Controller D

Total Complexity 166
Dependencies 8
Dependents 2
Total lines 1,181
Lines of code 712
Logical lines of code 378
Comment lines 279
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
bulk_update_redirects()
A
41 11 60
intercept()
A
45 12 41
save_redirect()
A
46 10 37
import_redirects()
A
43 8 56
get_redirects_from_json()
A
46 8 43
find_geo_destination()
A
54 9 21
update_redirect_notices()
A
53 8 23
get_redirects_from_csv()
S
53 7 22
find_regex_redirect()
S
55 7 19
smartcrawl_page_redirect()
S
56 6 18
display_redirection_update_notice()
S
47 4 42
display_upgrade_notice()
S
49 4 35
redirect_attachments()
S
56 5 18
update_redirection_notice_transient()
S
53 4 24
format_destination()
S
54 4 21
export_redirects()
S
49 3 32
upgrade_table()
S
66 5 8
get_redirects()
S
61 4 13
populate_destination()
S
61 4 13
find_match()
S
60 4 13
get_current_url()
S
62 4 11
allowed_hosts_filter()
S
58 3 17
should_run()
S
70 4 5
delete_redirect()
S
60 3 13
find_plain_redirect()
S
64 3 11
init()
S
54 2 20
get_request_data()
S
76 3 3
find_regex_destination()
S
63 2 11
maybe_create_table()
S
71 2 6
get_post_type_label()
S
69 2 7
manage_delete_post_notice()
S
69 2 7
manage_trash_post_notice()
S
69 2 7
get_url_query_vars()
S
69 2 7
to_safe_redirection()
S
65 1 9
sanitize_post_redirect()
S
67 1 8
get_current_path()
S
80 1 3
is_source_regex_invalid()
S
73 1 4
admin_notices()
S
78 1 4